<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;

class VerifyCsrfToken extends BaseVerifier
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
        'ajax',       //ajax验证
        'checkimg',   //验证图片验证码
        'checktype',  //验证请求类型
        '/user/editnick', //修改昵称
        'send',       //手机验证码
        'email',       //邮箱验证码
   ];
}
